
#add_subdirectory(benchmark)

configure_file( "${PROJECT_SOURCE_DIR}/walle/base/version.h.in" "${PROJECT_BINARY_DIR}/walle/base/version.h")

#FILE(GLOB UTIL_SRC "util/*.cc")
#FILE(GLOB UTIL_HEADER "util/*.h")

#FILE(GLOB COMMON_SRC "common/*.cc")
#FILE(GLOB COMMON_HEADER "common/*.h")

#FILE(GLOB DOUBLE_SRC "common/double-conversion/*.cc")
#FILE(GLOB DOUBLE_HEADER "common/double-conversion/*.h")

#SET(ALL_SRC
	#${COMMON_SRC}
    #${UTIL_SRC}
	#${PARSER_SRC}
	#${EVENT_SRC}
	#${DIO_SRC}
	#${NET_SRC}
	#${HTTP_SRC}
	#${DOUBLE_SRC}
    #${SERVICE_SRC}	
#	)


#add_library(walleStatic STATIC ${ALL_SRC} )
#add_library(walleShared SHARED ${ALL_SRC} )
#target_link_libraries(walleStatic  pthread rt)
#target_link_libraries(walleShared  pthread rt)
#set_target_properties(walleStatic PROPERTIES OUTPUT_NAME 
#	walle_static)
#set_target_properties(walleShared PROPERTIES OUTPUT_NAME 
#	walle)


#install(TARGETS walleStatic walleShared 
#	RUNTIME DESTINATION bin
#	LIBRARY DESTINATION lib 
#	ARCHIVE DESTINATION lib
#	 )